/*
 * vertical print jquery plugin.
 * call $('.selector').vprint('word') to print 'word' vertically in eached matched element.
 * vprint.css & alphabet.png are required.
 */
        $.fn.vprint = function(word) {
          return $(this).each(function() {
          	for (var i=0;i<word.length;i++) {
        	    $(this).vprint_letter(word[i]);
          	}
          });
        };
        $.fn.vprint_letter = function(letter) {
        	pos = $.fn.vprint.alphabet.indexOf(letter);
        	if (pos != -1) {
	        	return $(this).each(function() {
	        		$(this).append($("<div class='vprint-letter'></div>").css('background-position','0 -'+(pos*10)+'px'));
	        	});
        	}
        };
        $.fn.vprint.alphabet = "abcdefghijklmnopqrstuvwxyz";
